package com.wudi.estate.mapper.servicemode;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wudi.estate.bean.servicemode.Activity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface ActivityMapper extends BaseMapper<Activity> {
    List<Map<String,Object>> selectActivityAndCommunity() throws  Exception;

    List<Map<String, Object>> selectActivityAndCommunityByPageAndLike(@Param("beginTime") String beginTime,@Param("endTime") String endTime,@Param("title") String title) throws Exception;

}
